Elementor\Core\Utils\ImportExport\WP_Import D

Total Complexity 212
Dependencies 3
Dependents 1
Total lines 1,322
Lines of code 793
Logical lines of code 519
Comment lines 269
Methods 23
Properties 25

Methods 23

Method Rating Maintainability Complexity Lines of code
process_posts()
D
20
47 203
fetch_remote_file()
C
32 29 95
process_menu_item()
C
34 24 84
set_author_mapping()
B
40 19 55
process_terms()
B
38 16 70
backfill_parents()
A
50 11 30
__construct()
A
53 10 22
get_filename_from_disposition()
A
51 8 27
process_attachment()
S
49 6 30
process_termmeta()
S
54 6 21
import()
S
49 5 33
set_authors_from_import()
S
54 5 22
get_file_extension_by_mime_type()
S
60 5 12
import_start()
S
53 3 22
remap_featured_images()
S
64 4 10
handle_duplicated_nav_menu_term()
S
62 2 12
import_end()
S
63 2 11
backfill_attachment_urls()
S
63 2 10
is_valid_meta_key()
S
70 2 6
update_term_meta()
S
72 2 5
update_post_meta()
S
72 2 5
parse()
S
76 1 4
run()
S
77 1 4